export type Result<T> = {
  code: number
  message: string
  data: T
  success?: boolean
  fail?: boolean
  [x: string]: unknown
}
export interface ResError extends Error {
  code?: string
  success: boolean
}
